﻿namespace Creek.UI.EFML.Base
{
    using System.ComponentModel;
    using System.Drawing;
    using System.Windows.Forms;

    using EFML_Runtime.Internal.Base.JS.ScriptingTypes.Transitions;

    using global::EFML.Internal.Base;

    public interface IUIElement
    {
        #region Public Properties

        string Content { get; set; }

        string ID { get; set; }

        IValidator Validator { get; set; }

        IStyle style { get; }

        #endregion
    }

    [TypeConverter(typeof(StyleConverter))]
    public interface IStyle
    {
        #region Public Properties

        Size Size { get; set; }

        bool autosize { get; set; }

        Font font { get; set; }

        Padding margin { get; set; }

        Color backgroundcolor { get; set; }

        Padding padding { get; }

        Transition transition { get; set; }

        #endregion
    }
}